import service from '@/utils/request'


//查看患者列表
export function getRegistList(params) {
  return service({
    url: '/doctor/getRegistList',
    method: 'get',
    params
  })
}


export function receivePatient(params) {
  return service({
    url: '/doctor/receivePatient',
    method: 'get',
    params
  })
}

// ?  aaa&aa=vvv
//data  post   body   流读取  json
//paramstr=%7B%22registId%22:6,%22checkItemIds%22:[1,2]%7D
export function  saveCheckAppy(params){
  return service({
    url: '/doctor/saveCheckAppy',
    method: 'post',
    params
  })
}

export function  saveInspectApply(params){
  return service({
    url: '/doctor/saveInspectApply',
    method: 'post',
    params
  })
}




export  function  queryApplyItem(registerId){
  return service({
    url: '/doctor/queryApplyItem?registerId='+registerId,
    method: 'get',
  })
}
